/*  zwt */
package cn.mandy.sysadmin.mapper;

import cn.mandy.sysadmin.model.MandyRolePermission;
import cn.mandy.sysadmin.model.MandyRolePermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MandyRolePermissionMapper {
    long countByExample(MandyRolePermissionExample example);

    int deleteByExample(MandyRolePermissionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MandyRolePermission record);

    int insertSelective(MandyRolePermission record);

    List<MandyRolePermission> selectByExample(MandyRolePermissionExample example);

    MandyRolePermission selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MandyRolePermission record, @Param("example") MandyRolePermissionExample example);

    int updateByExample(@Param("record") MandyRolePermission record, @Param("example") MandyRolePermissionExample example);

    int updateByPrimaryKeySelective(MandyRolePermission record);

    int updateByPrimaryKey(MandyRolePermission record);
}